<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>客运站</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<link rel="stylesheet" type="text/css" href="iconfont/iconfont.css" />
		<link rel="stylesheet" type="text/css" href="css/all_css.css" />
		<link rel="stylesheet" type="text/css" href="css/weui/base.css" />
		<link rel="stylesheet" type="text/css" href="lib/weui.css" />
		<link rel="stylesheet" type="text/css" href="css/weui/jquery-weui.css" />
		<style type="text/css">
			*{
				overflow: hidden;
			}
			#passenger_main {
				max-width: 640px;
				min-width: 320px;
				width: 100%;
				margin: 0px auto;
			}
			
			.app_head_left {
				float: left;
				width: 30%;
				padding-left: 6px;
				padding-top: 6px;
			}
			
			.app_head_left a {
				color: #FFFFFF;
				font-size: 1.5em;
				font-weight: bold;
			}
			
			.app_head_mid {
				float: left;
				width: 40%;
				padding-top: 5px;
			}
			
			#app_head_title {
				text-align: center;
				color: #FFFFFF;
				font-size: 1.6em;
				font-family: "宋体";
				font-weight: bold;
			}
			.tourmain_mid ul li {
				height: 80px;
				border-bottom: 1px solid #DEDEDE;
				padding: 8px;
			}
			
			.tourmain_mid ul li h2 {
				height: 60%;
				line-height: 40px;
				color: #017FD6;
				font-weight: bold;
				font-size: 1.3em;
			}
			
			.tourmain_mid ul li p {
				color: #666666;
				white-space: nowrap;
				/* 不换行 */
				overflow: hidden;
				/* 内容超出宽度时隐藏超出部分的内容 */
				text-overflow: ellipsis;
				/* 当对象内文本溢出时显示省略标记 */
			}
			#stationIframe{
				border: none;
				margin-top: 20px;
			}
			/*遮罩层*/
			#bgi_zzc{
				position: fixed;
				bottom: 0px;
				width: 100%;
				height: 70%;
				/*border: 1px solid;*/
				background-image: url(img/passenger/passenger_bgi.png);
				background-size: 150% 300%;
				background-position: 20% 105%;
				background-repeat: no-repeat;
			}
		</style>
		<script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=MMh4H9m5FLBpizlht86GnGynuaM0oGKz"></script>
	</head>
	<body ontouchstart>
		
		<div id="passenger_main">
			<div class="index_head" id="firTitle">
				<div class="app_head_left">
					<a href="javascript:history.go(-1)" class="iconfont">&#xe6d4;</a>
				</div>
				<div class="app_head_mid">
					<p id="app_head_title">客运站</p>
				</div>
			</div>
			<iframe id="stationIframe" src="http://www.bus365.com/public/www/stationfind.html" width="100%" height="100%" scrolling="no"></iframe>
			<div id="bgi_zzc"></div>
		</div>	
		
		<script src="js/jquery-1.11.0.js" type="text/javascript" charset="utf-8"></script>
		<script src="js/weui/jquery-weui.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript">
			var allHeight = document.documentElement.clientHeight;
			$("#passenger_main").height(allHeight);
//			// 百度地图API功能
//			var map = new BMap.Map("l-map");
//			map.centerAndZoom("吉林省长春市", 17);
//
//			var options = {
//				onSearchComplete: function(results) {
//					// 判断状态是否正确 
//					if(local.getStatus() == BMAP_STATUS_SUCCESS) {
//						var s = [];
//						var ul = $('<ul></ul>');
//						$("#tourmain_mid").append(ul);
//						for(var i = 0; i < results.getCurrentNumPois(); i++) {
//							s.push(results.getPoi(i).title + ", " + results.getPoi(i).address);
//							var li = $('<li></li>');
//							var h = $('<h2>' + results.getPoi(i).title + '</h2>');
//							var p = $('<p>' + results.getPoi(i).address + '</p>');
//							$(ul).append(li);
//							$(li).append(h, p);
//						}
//						document.getElementById("r-result").innerHTML = s.join("<br/>");
//						console.log(results.getPoi(1).title);
//					}
//				}
//			};
//			var local = new BMap.LocalSearch(map, options);
//			local.search("客运站");
		</script>
	</body>
</html>
